<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.menuButton {
			  position: relative;
			  transition-property: background-color, color;
			  transition-duration: 1s;
			  transition-timing-function: ease-out;
			  
			  text-align: left;
			  background-color: red;
			  left: 5px;
			  top: 5px;
			  height: 26px;
			  color: white;
			  border-color: black;
			  font-family: sans-serif;
			  font-size: 20px;
			  text-decoration: none;
			  box-shadow: 2px 2px 1px black;
			  padding: 2px 4px;
			  border: solid 1px black;
			}
			.menuButton:hover {
			  position: relative;
			  transition-property: background-color, color;
			  transition-duration: 1s;
			  transition-timing-function: ease-out;
			  background-color:black;
			  color:black;
			  box-shadow: 2px 2px 1px black;
			  
			}
			*{
				font-size: 12px;
			}
		</style>
	</head>
	<body>
		<div class="sidebar">
		  <p><a class="menuButton" href="home">Home</a></p>
		  <p><a class="menuButton" href="about">About</a></p>
		  <p><a class="menuButton" href="contact">Contact Us</a></p>
		  <p><a class="menuButton" href="links">Links</a></p>
		</div>
	</body>
	
	
	
	<script>/* 
		var sum=0;
		for(let i=1;i<=100;i++){
			
			var sum2=0;
			for(let j=1;j<=i;j++){
				sum2+=j;
			}
			sum+=sum2;
			sum2=0;
		}
		console.log(sum) */
		// var x=0;
		// function age(){
			
		// 	for(var i=1;i<100;i++){
		// 		for(var j=i;j<100;j++){
		// 			x+=j;
					
		// 			if(x===236){
		// 				console.log(i)
		// 			}
		// 		}
		// 		x=0;
		// 	}
		// }
		// age();
		var count=0;
		function num(a,b,c,d,e){
			if((a+b/c+d/e)===10){
				count+=1;
			}
			return (a+b/c+d/e);
		} 
		function checkMobile(s){
		var regu =/[0]/;
		var re = new RegExp(regu);
		if (re.test(s)) {
		        return true;
		    }else{
		       return false;
		    }
		}
		for(var a=1;a<10;a++){
			for(var b=1;b<10;b++){
				for(var c=1;c<10;c++){
					for(var d=111;d<=999;d++){
						if(checkMobile(d))
							continue;
						for(var e=111;e<=999;e++){
							if(checkMobile(e))
								continue;
							else{
								if(num(a,b,c,d,e)<10){
									break;
								}
							}
							
						}
					}
				}
			}
		}
		console.log(count);
		
		
		
		
		
		
		
		
		
		
		
	</script>
</html>
